<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<head>
    <title>修改书籍</title>

    <%--Bootstrap美化页面--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 colum">
            <div class="page-header">
                <h1>
                    <small>修改书籍</small>
                </h1>
            </div>
        </div>
    </div>


    <form action="${pageContext.request.contextPath}/book/updateBook" method="post">
        <div class="containe">
            <div class="row clearfix">
                <div class="col-md-12 colum">
                    <%--隐藏域--%>
                    <input type="hidden" name="bookID" value="${book.bookID}">

                    <div class="form-group" class="row clearfix">
                        <label>书籍名称</label>
                        <input type="text" name="bookName" value="${book.bookName}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>书籍数量</label>
                        <input type="text" name="bookCounts" value="${book.bookCounts}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>书籍价格</label>
                        <input type="text" name="bookPrice" value="${book.bookPrice}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>书籍描述</label>
                        <input type="text" name="detail" value="${book.detail}" required>
                    </div>
                    <div class="form-group">
                        <input type="submit" value="提交">
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
